<?php
class Logger_Event
{
    protected $_name;
    protected $_level;
    protected $_levelName;
    protected $_message;
    protected $_timestamp;
    protected $_param;
    
    /**
     * @var Logger_Log
     */
    protected $_logger;
    public function __construct ($name, $level, $message, $timestamp = NOW_TIME, $param = array())
    {
        $this->_name        =   $name;
        $this->_level       =   $level;
        $this->_message     =   $message;
        $this->_timestamp   =   $timestamp;
        $this->_param       =   $param;
        $this->_levelName   =   Logger::levelName($level);
    }
    public function getName ()
    {
        return $this->_name;
    }
    public function getLevel ()
    {
        return $this->_level;
    }
    public function getLevelName()
    {
        return $this->_levelName;
    }
    public function getTimestamp()
    {
        return $this->_timestamp;
    }
    /**
     * @return String
     */
    public function getMessage ()
    {
        return $this->_message;
    }
    public function getParam()
    {
        return $this->_param;
    }
}
?>